@include('home.header')
           <b class="line"></b>
		<div class="center">
			<div class="col-main" style="height:1000px;">
				<div class="main-wrap">

					<div class="user-info">
						<!--标题 -->
						<div class="am-cf am-padding">
							<div class="am-fl am-cf"><strong class="am-text-danger am-text-lg">商品评价</strong> / <small>Manage &nbsp;Comment</small></div>
						</div>
						<hr/>
	
						<!--头像 -->
					<form class="am-form am-form-horizontal" onsubmit="asub()" action="/home/addcomment/{{$goods->id}}" method="post" enctype="multipart/form-data">
							{{ csrf_field() }}
						<div class="user-infoPic">

							<div>
								<img height="120" width="100" style="width:13%;"src="{{$goods->goods_photo}}" alt="" />
							</div>

							<p class="am-form-help">头像</p>

							<div class="info-m">
								<div><b>详情：<i>{{$goods->goods_des}}</i></b></div>
								<div><b>价钱：<i>{{$goods->goods_price}}元</i></b></div>
								<div><b>包装：<i>精品包装</i></b></div>
							</div>
						</div>


						
						<div class="info-main">
						
						<div class="am-form-group">
								<label for="user-intro" class="am-form-label">评价</label>
								<div class="am-form-content">
									<textarea class="" name="comment" rows="3" id="user-intro" placeholder="输入详细内容"></textarea>
								   
								</div>
						</div>
							<input style="margin-left:600px;"type="submit" value="提交评价">

								
		


							</form>
						</div>

					</div>
					<script>
					function asub()
					{
						var data = [];
						data['uername'] = $('#user-name').val();
						data['nickname'] = $("#user-name2").val();
						data['sex'] = $("input:checked").val();
						data['phone'] = $('#user-phone').val();
						data['email'] = $('#user-email').val;
						console.log(data);
						return false;
					}
					</script>
				</div>
@include('home.footer')	